


// export const mycolor = function (el, binding) {
//   inserted(el, binding) {
//     el.style.color = binding.value
//   }
// }

//暴露多个
export const mycolor = {
  inserted(el, binding) {
    el.style.color = binding.value
    el.style.borderColor = binding.value;
  }
}
export const myfocus = {
  inserted(el, binding) {
    el.focus()
  }
}